package com.hualan.service;

import com.hualan.domain.LevelAndGood;
import com.hualan.domain.Teacher;
import com.hualan.domain.TeacherAndGood;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherGoodService {
    //根据获取的good.name查询对应的teacher表
    List<TeacherAndGood> selectTeacherByGoodname(int id);

    //根据获取的good.name，teacherlevel.name查询对应的teacher表
    List<Teacher> selectTeacherByLevelGood(String level, String good);

    //根据good.name,level.name,teacher.address筛选teacher表
    List<Teacher> selectTeacherByLevelGoodAddress(String level,String good, String address);
}
